<div id="sidebar">
    <div id="recent-tabs" class="box" style="margin-top: 20px">
        <div class="box-header">
            <ul class="nav">
                <li><a class="current" href="#recent-tabs-posts"><?php echo lang('opciones');?></a></li>
            </ul>
        </div><!-- end .box-header -->
        <div class="list-wrap">
            <ul id="recent-tabs-posts">
                <?php if ($this->session->userdata('idusuario') == ''){?>
                    <li><a href="<?php echo site_url('auth/login');?>">Login</a></li>
                <?php }?>
                    <li><a href="<?php echo site_url('auth');?>">Dashboard</a></li>
                    <li><a href="<?php echo site_url('add-new-entry');?>">Add new entry</a></li>
                    <li><a href="<?php echo site_url('add-new-category');?>">Add new category</a></li>
                    <li><a href="<?php echo site_url('auth/logout');?>">Logout</a></li>
            </ul><!-- end #recent-tabs-posts-->
        </div><!-- end .list-wrap -->
    </div><!-- end #recent-tabs -->
</div><!-- end #sidebar -->